<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>学生一站式服务中心 - 服务模块</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        :root {
            --primary: #6C63FF;
            --secondary: #4FC3F7;
            --accent: #FF8A65;
            --light: #F5F7FA;
            --dark: #2D3748;
            --success: #68D391;
            --warning: #F6E05E;
            --danger: #FC8181;
            --glass-bg: rgba(255, 255, 255, 0.7);
            --shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
            --border-radius: 16px;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%);
            color: var(--dark);
            min-height: 100vh;
        }
        
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px;
        }
        
        /* 导航栏样式 */
        header {
            background: var(--glass-bg);
            backdrop-filter: blur(12px);
            border-radius: var(--border-radius);
            padding: 15px 25px;
            margin-bottom: 25px;
            box-shadow: var(--shadow);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .logo h1 {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary);
        }
        
        .nav-links {
            display: flex;
            gap: 25px;
        }
        
        .nav-links a {
            text-decoration: none;
            color: var(--dark);
            font-weight: 500;
            padding: 8px 15px;
            border-radius: 12px;
            transition: all 0.3s ease;
        }
        
        .nav-links a:hover, .nav-links a.active {
            background: rgba(108, 99, 255, 0.1);
            color: var(--primary);
        }
        
        .user-actions {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .notification-btn, .user-profile {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            cursor: pointer;
            box-shadow: var(--shadow);
        }
        
        /* 服务模块标签导航 */
        .services-tabs {
            display: flex;
            background: var(--glass-bg);
            backdrop-filter: blur(12px);
            border-radius: var(--border-radius);
            padding: 10px;
            margin-bottom: 25px;
            box-shadow: var(--shadow);
            overflow-x: auto;
        }
        
        .tab-btn {
            padding: 12px 20px;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
            font-weight: 500;
        }
        
        .tab-btn:hover {
            background: rgba(108, 99, 255, 0.1);
        }
        
        .tab-btn.active {
            background: var(--primary);
            color: white;
        }
        
        /* 内容区域 */
        .tab-content {
            display: none;
            background: var(--glass-bg);
            backdrop-filter: blur(12px);
            border-radius: var(--border-radius);
            padding: 25px;
            box-shadow: var(--shadow);
            min-height: 500px;
        }
        
        .tab-content.active {
            display: block;
        }
        
        .content-header {
            margin-bottom: 25px;
        }
        
        .content-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 10px;
        }
        
        .content-subtitle {
            color: #718096;
        }
        
        /* 玻璃拟态卡片样式 */
        .glass-card {
            background: rgba(255, 255, 255, 0.5);
            backdrop-filter: blur(10px);
            border-radius: var(--border-radius);
            padding: 20px;
            box-shadow: var(--shadow);
            border: 1px solid rgba(255, 255, 255, 0.5);
            margin-bottom: 20px;
        }
        
        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .card-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--primary);
        }
        
        /* 课表样式 */
        .schedule-container {
            display: grid;
            grid-template-columns: 60px repeat(7, 1fr);
            gap: 10px;
        }
        
        .time-slot {
            padding: 10px;
            text-align: center;
            font-weight: 500;
            color: var(--primary);
        }
        
        .day-header {
            padding: 10px;
            text-align: center;
            font-weight: 500;
            background: rgba(108, 99, 255, 0.1);
            border-radius: 8px;
        }
        
        .schedule-item {
            padding: 10px;
            border-radius: 8px;
            background: white;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            margin-bottom: 10px;
            cursor: pointer;
        }
        
        .schedule-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
        }
        
        .course-name {
            font-weight: 600;
            margin-bottom: 5px;
        }
        
        .course-info {
            font-size: 0.8rem;
            color: #718096;
        }
        
        /* 缴费样式 */
        .payment-cards {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
        }
        
        .payment-card {
            background: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .payment-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        }
        
        .payment-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(108, 99, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
            color: var(--primary);
            font-size: 1.5rem;
        }
        
        .payment-title {
            font-weight: 600;
            margin-bottom: 5px;
        }
        
        .payment-amount {
            color: #718096;
            margin-bottom: 15px;
        }
        
        /* 成绩查询样式 */
        .grades-summary {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-bottom: 25px;
        }
        
        .summary-card {
            background: white;
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }
        
        .summary-value {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary);
            margin: 10px 0;
        }
        
        .summary-label {
            color: #718096;
        }
        
        .grades-table {
            width: 100%;
            border-collapse: collapse;
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }
        
        .grades-table th, .grades-table td {
            padding: 15px;
            text-align: left;
            border-bottom: 1px solid #f1f1f1;
        }
        
        .grades-table th {
            background: rgba(108, 99, 255, 0.1);
            font-weight: 600;
        }
        
        .grades-table tr:last-child td {
            border-bottom: none;
        }
        
        /* 表单样式 */
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
        }
        
        .form-input, .form-select, .form-textarea {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            font-size: 1rem;
            transition: all 0.3s ease;
        }
        
        .form-input:focus, .form-select:focus, .form-textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
        }
        
        .form-textarea {
            min-height: 120px;
            resize: vertical;
        }
        
        .btn {
            padding: 12px 25px;
            border-radius: 8px;
            border: none;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .btn-primary {
            background: var(--primary);
            color: white;
        }
        
        .btn-primary:hover {
            background: #5a52e0;
        }
        
        .btn-secondary {
            background: #e2e8f0;
            color: var(--dark);
        }
        
        .btn-secondary:hover {
            background: #cbd5e0;
        }
        
        /* 失物招领样式 */
        .lost-found-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
        }
        
        .lf-item {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }
        
        .lf-image {
            height: 200px;
            background: #e2e8f0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #718096;
        }
        
        .lf-content {
            padding: 20px;
        }
        
        .lf-title {
            font-weight: 600;
            margin-bottom: 10px;
        }
        
        .lf-desc {
            color: #718096;
            margin-bottom: 15px;
            font-size: 0.9rem;
        }
        
        .lf-meta {
            display: flex;
            justify-content: space-between;
            color: #718096;
            font-size: 0.8rem;
        }
        
        /* 响应式调整 */
        @media (max-width: 1024px) {
            .schedule-container {
                grid-template-columns: 50px repeat(7, 1fr);
                font-size: 0.9rem;
            }
            
            .grades-summary {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }
            
            .schedule-container {
                grid-template-columns: 40px repeat(2, 1fr);
                overflow-x: auto;
            }
            
            .payment-cards {
                grid-template-columns: 1fr;
            }
        }
        
        /* 工具类 */
        .flex {
            display: flex;
        }
        
        .justify-between {
            justify-content: space-between;
        }
        
        .items-center {
            align-items: center;
        }
        
        .mb-4 {
            margin-bottom: 1rem;
        }
        
        .mt-4 {
            margin-top: 1rem;
        }
        
        .text-center {
            text-align: center;
        }
    </style>
</head>
<body>
    <div class="container">
        <!-- 导航栏 -->
        <header>
            <div class="logo">
                <h1>学生一站式服务中心</h1>
            </div>
            <nav class="nav-links">
                <a href="index.html">首页</a>
                <a href="#" class="active">服务</a>
                <a href="schoolLiving.html">校园生活</a>
                <a href="#">我的信息</a>
            </nav>
            <div class="user-actions">
                <div class="notification-btn">
                    <i class="fas fa-bell"></i>
                </div>
                <div class="user-profile">
                    <i class="fas fa-user"></i>
                </div>
            </div>
        </header>
        
        <!-- 服务模块标签导航 -->
        <div class="services-tabs">
            <div class="tab-btn active" data-tab="schedule">课表查询与选课</div>
            <div class="tab-btn" data-tab="payment">缴费服务</div>
            <div class="tab-btn" data-tab="grades">成绩查询</div>
            <div class="tab-btn" data-tab="course-change">课表替换申请</div>
            <div class="tab-btn" data-tab="campus-card">校园卡服务</div>
            <div class="tab-btn" data-tab="lost-found">失物招领</div>
            <div class="tab-btn" data-tab="personal-schedule">个人日程</div>
            <div class="tab-btn" data-tab="my-organization">我的组织</div>
            <div class="tab-btn" data-tab="campus-repair">校园报修</div>
        </div>
        
        <!-- 课表查询与选课 -->
        <div class="tab-content active" id="schedule">
            <div class="content-header">
                <h2 class="content-title">课表查询与选课</h2>
                <p class="content-subtitle">查看本学期课程安排，进行选课操作</p>
            </div>
            
            <div class="glass-card">
                <div class="card-header">
                    <h3 class="card-title">2023-2024学年 第一学期课表</h3>
                    <div>
                        <button class="btn btn-secondary">导出课表</button>
                        <button class="btn btn-primary">选课入口</button>
                    </div>
                </div>
                
                <div class="schedule-container">
                    <div class="time-slot">时间</div>
                    <div class="day-header">周一</div>
                    <div class="day-header">周二</div>
                    <div class="day-header">周三</div>
                    <div class="day-header">周四</div>
                    <div class="day-header">周五</div>
                    <div class="day-header">周六</div>
                    <div class="day-header">周日</div>
                    
                    <div class="time-slot">08:00</div>
                    <div class="schedule-item">
                        <div class="course-name">数据结构</div>
                        <div class="course-info">科教楼201 · 张老师</div>
                    </div>
                    <div></div>
                    <div class="schedule-item">
                        <div class="course-name">计算机网络</div>
                        <div class="course-info">信息楼305 · 李老师</div>
                    </div>
                    <div></div>
                    <div class="schedule-item">
                        <div class="course-name">操作系统</div>
                        <div class="course-info">计算机楼102 · 王老师</div>
                    </div>
                    <div></div>
                    <div></div>
                    
                    <div class="time-slot">10:00</div>
                    <div></div>
                    <div class="schedule-item">
                        <div class="course-name">数据库原理</div>
                        <div class="course-info">科教楼301 · 刘老师</div>
                    </div>
                    <div></div>
                    <div class="schedule-item">
                        <div class="course-name">软件工程</div>
                        <div class="course-info">信息楼205 · 赵老师</div>
                    </div>
                    <div></div>
                    <div></div>
                    <div></div>
                    
                    <div class="time-slot">14:00</div>
                    <div class="schedule-item">
                        <div class="course-name">计算机组成原理</div>
                        <div class="course-info">科教楼201 · 陈老师</div>
                    </div>
                    <div></div>
                    <div class="schedule-item">
                        <div class="course-name">算法分析</div>
                        <div class="course-info">信息楼305 · 周老师</div>
                    </div>
                    <div></div>
                    <div class="schedule-item">
                        <div class="course-name">人工智能</div>
                        <div class="course-info">计算机楼102 · 吴老师</div>
                    </div>
                    <div></div>
                    <div></div>
                </div>
            </div>
            
            <div class="glass-card">
                <h3 class="card-title">教师联系方式</h3>
                <table class="grades-table">
                    <thead>
                        <tr>
                            <th>课程名称</th>
                            <th>教师</th>
                            <th>办公室</th>
                            <th>电话</th>
                            <th>微信</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td>数据结构</td>
                            <td>张老师</td>
                            <td>科教楼501</td>
                            <td>138****1234</td>
                            <td>zhang_teacher</td>
                        </tr>
                        <tr>
                            <td>计算机网络</td>
                            <td>李老师</td>
                            <td>信息楼410</td>
                            <td>139****5678</td>
                            <td>li_teacher</td>
                        </tr>
                        <tr>
                            <td>数据库原理</td>
                            <td>刘老师</td>
                            <td>科教楼502</td>
                            <td>137****9012</td>
                            <td>liu_teacher</td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
        
        <!-- 缴费服务 -->
        <div class="tab-content" id="payment">
            <div class="content-header">
                <h2 class="content-title">缴费服务</h2>
                <p class="content-subtitle">缴纳学费、住宿费及其他费用</p>
            </div>
            
            <div class="payment-cards">
                <div class="payment-card">
                    <div class="payment-icon">
                        <i class="fas fa-graduation-cap"></i>
                    </div>
                    <div class="payment-title">学费缴纳</div>
                    <div class="payment-amount">待缴: ￥5,200.00</div>
                    <button class="btn btn-primary">立即缴费</button>
                </div>
                
                <div class="payment-card">
                    <div class="payment-icon">
                        <i class="fas fa-bed"></i>
                    </div>
                    <div class="payment-title">住宿费缴纳</div>
                    <div class="payment-amount">待缴: ￥1,200.00</div>
                    <button class="btn btn-primary">立即缴费</button>
                </div>
                
                <div class="payment-card">
                    <div class="payment-icon">
                        <i class="fas fa-utensils"></i>
                    </div>
                    <div class="payment-title">食堂充值</div>
                    <div class="payment-amount">余额: ￥125.50</div>
                    <button class="btn btn-primary">立即充值</button>
                </div>
                
                <div class="payment-card">
                    <div class="payment-icon">
                        <i class="fas fa-book"></i>
                    </div>
                    <div class="payment-title">教材费缴纳</div>
                    <div class="payment-amount">待缴: ￥380.00</div>
                    <button class="btn btn-primary">立即缴费</button>
                </div>
            </div>
            
            <div class="glass-card">
                <div class="card-header">
                    <h3 class="card-title">缴费记录</h3>
                    <button class="btn btn-secondary">查看全部</button>
                </div>
                
                <table class="grades-table">
                    <thead>
                        <tr>
                            <th>日期</th>
                            <th>项目</th>
                            <th>金额</th>
                            <th>状态</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td>2023-09-01</td>
                            <td>学费</td>
                            <td>￥5,200.00</td>
                            <td>已支付</td>
                        </tr>
                        <tr>
                            <td>2023-09-05</td>
                            <td>住宿费</td>
                            <td>￥1,200.00</td>
                            <td>已支付</td>
                        </tr>
                        <tr>
                            <td>2023-09-10</td>
                            <td>食堂充值</td>
                            <td>￥100.00</td>
                            <td>已支付</td>
                        </tr>
                        <tr>
                            <td>2023-10-15</td>
                            <td>教材费</td>
                            <td>￥380.00</td>
                            <td>待支付</td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
        
        <!-- 成绩查询 -->
        <div class="tab-content" id="grades">
            <div class="content-header">
                <h2 class="content-title">成绩查询</h2>
                <p class="content-subtitle">查看各科成绩和绩点计算</p>
            </div>
            
            <div class="grades-summary">
                <div class="summary-card">
                    <div class="summary-label">平均学分绩点</div>
                    <div class="summary-value">3.72</div>
                    <div class="summary-label">专业排名: 15/120</div>
                </div>
                
                <div class="summary-card">
                    <div class="summary-label">必修课平均分</div>
                    <div class="summary-value">87.5</div>
                    <div class="summary-label">最高分: 96</div>
                </div>
                
                <div class="summary-card">
                    <div class="summary-label">选修课平均分</div>
                    <div class="summary-value">85.2</div>
                    <div class="summary-label">已修学分: 32</div>
                </div>
            </div>
            
            <div class="glass-card">
                <div class="card-header">
                    <h3 class="card-title">2023-2024学年 第一学期成绩</h3>
                    <div>
                        <button class="btn btn-secondary">导出Excel</button>
                        <button class="btn btn-primary">绩点计算器</button>
                    </div>
                </div>
                
                <table class="grades-table">
                    <thead>
                        <tr>
                            <th>课程名称</th>
                            <th>课程类型</th>
                            <th>学分</th>
                            <th>成绩</th>
                            <th>绩点</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td>数据结构</td>
                            <td>专业必修</td>
                            <td>4</td>
                            <td>92</td>
                            <td>4.0</td>
                        </tr>
                        <tr>
                            <td>计算机网络</td>
                            <td>专业必修</td>
                            <td>3</td>
                            <td>88</td>
                            <td>3.7</td>
                        </tr>
                        <tr>
                            <td>数据库原理</td>
                            <td>专业必修</td>
                            <td>3</td>
                            <td>85</td>
                            <td>3.3</td>
                        </tr>
                        <tr>
                            <td>大学英语</td>
                            <td>公共必修</td>
                            <td>2</td>
                            <td>90</td>
                            <td>4.0</td>
                        </tr>
                        <tr>
                            <td>篮球</td>
                            <td>体育选修</td>
                            <td>1</td>
                            <td>95</td>
                            <td>4.0</td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
        
        <!-- 其他服务内容会在这里继续，限于篇幅只展示部分 -->
        
    </div>

    <script>
        // 标签切换功能
        document.querySelectorAll('.tab-btn').forEach(button => {
            button.addEventListener('click', function() {
                // 移除所有active类
                document.querySelectorAll('.tab-btn').forEach(btn => {
                    btn.classList.remove('active');
                });
                document.querySelectorAll('.tab-content').forEach(content => {
                    content.classList.remove('active');
                });
                
                // 添加active类到当前元素
                this.classList.add('active');
                const tabId = this.getAttribute('data-tab');
                document.getElementById(tabId).classList.add('active');
            });
        });
        
        // 示例交互功能
        document.querySelectorAll('.schedule-item').forEach(item => {
            item.addEventListener('click', function() {
                const courseName = this.querySelector('.course-name').textContent;
                alert(`已选择课程: ${courseName}\n可以查看详情或进行换课操作`);
            });
        });
        
        document.querySelectorAll('.payment-card .btn').forEach(btn => {
            btn.addEventListener('click', function(e) {
                e.stopPropagation();
                const card = this.closest('.payment-card');
                const title = card.querySelector('.payment-title').textContent;
                alert(`即将进入${title}页面`);
            });
        });
    </script>
</body>
</html>